package com.czollmann.android;

import java.util.List;

import android.util.DisplayMetrics;
import android.view.WindowManager;

import com.czollmann.android.views.HomeView;
import com.czollmann.android.views.TimelineView;
import com.facebook.android.Facebook;

public class StaticMethods {
  private static List<ObjectWrapper> currentObjectWrapper = null;
  private static HomeView homeView = null;
  private static TimelineView timelineView = null;
  private static Facebook facebook = null;

  public static Facebook getFacebook() {
    if (facebook == null) {
    }
    return facebook;
  }

  public static void setFacebook(Facebook facebook) {
    StaticMethods.facebook = facebook;
  }

  public static TimelineView getTimelineView() {
    return timelineView;
  }

  public static void setTimelineView(TimelineView timelineView) {
    StaticMethods.timelineView = timelineView;
  }

  public static HomeView getHomeView() {
    return homeView;
  }

  public static void setHomeView(HomeView homeView) {
    StaticMethods.homeView = homeView;
  }

  public static List<ObjectWrapper> getCurrentObjectWrapper() {
    return currentObjectWrapper;
  }

  public static void setCurrentObjectWrapper(List<ObjectWrapper> currentObjectWrapper) {
    StaticMethods.currentObjectWrapper = currentObjectWrapper;
  }

  public static DisplayMetrics getScreenDimensions(WindowManager windowManager) {
    DisplayMetrics dm = new DisplayMetrics();
    windowManager.getDefaultDisplay().getMetrics(dm);
    return dm;
  }
}
